package work.chenxr.security.service;

import org.springframework.security.core.userdetails.UserDetails;
import work.chenxr.security.user.UserDetail;

/**
 * @Author Chenxr
 * @Date 2023/10/23
 * @Description 安全用户详细信息业务接口
 */
public interface SecurityUserDetailsService {
    /**
     * 获取 UserDetails 对象，设置用户权限信息
     */
    UserDetails getUserDetails(UserDetail userDetail);
}
